package com.gym.tygglxt.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class Equipment implements Serializable {
    private Integer equid;

    private String equtype;

    private String equmanufacturer;

    private Integer equnum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date equindate;

    private static final long serialVersionUID = 1L;

    public Integer getEquid() {
        return equid;
    }

    public void setEquid(Integer equid) {
        this.equid = equid;
    }

    public String getEqutype() {
        return equtype;
    }

    public void setEqutype(String equtype) {
        this.equtype = equtype;
    }

    public String getEqumanufacturer() {
        return equmanufacturer;
    }

    public void setEqumanufacturer(String equmanufacturer) {
        this.equmanufacturer = equmanufacturer;
    }

    public Integer getEqunum() {
        return equnum;
    }

    public void setEqunum(Integer equnum) {
        this.equnum = equnum;
    }

    public Date getEquindate() {
        return equindate;
    }

    public void setEquindate(Date equindate) {
        this.equindate = equindate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", equid=").append(equid);
        sb.append(", equtype=").append(equtype);
        sb.append(", equmanufacturer=").append(equmanufacturer);
        sb.append(", equnum=").append(equnum);
        sb.append(", equindate=").append(equindate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}